/*
 * Copyright (c) 2021 com.youkeyi. All rights reserved.
 *
 *  @author liuxiawang
 *  @location Shenzhen.China
 *  @date 4/9/21 4:01 PM
 */

package com.youkeyi.ddy.cloud.common.constant;

/**
 * SYstem服务常量
 *
 * @Author liuxiawang
 * @Date 2021-04-09 16:01
 * @Location shenzhen.china
 */
public class YoukeyiDdyApplicationSystemConstant {
    // Token存入的redis库序号
    public static final Integer AUTH_REDIS_DB_INDEX = 8;
    // 登录Token的有效时长
    public static final Integer AUTH_REDIS_CACHE_SECONDS = 60 * 60 * 6;
    // 登录Token key
    public static final String AUTH_REDIS_TOKEN_KEY = "token";
    // 登录数据加密的公钥
    public static final String AUTH_REDIS_PUBLIC_KEY = "loginDataPublicKey";
    // 登录数据解密的私钥
    public static final String AUTH_REDIS_PRIVATE_KEY = "loginDataPrivateKey";


    // 授权状态存入的redis库序号
    public static final Integer AUTH_LOGIN_REDIS_DB_INDEX = 9;
}
